package org.cqut.system.resource_course.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.cqut.framework.web.domain.BaseEntity;

/**
 * 
 * @author XiAoXu
 * @TableName cw_resource_course
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="cw_resource_course")
@Data
@Accessors(chain = true)
public class ResourceCourse extends BaseEntity {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 资源编号
     */
    @TableField(value = "resource_id")
    private Long resourceId;

    /**
     * 课程编号
     */
    @TableField(value = "course_id")
    private Long courseId;
}